Optimal. Leaf size=250 \[ \frac {3 \left (5 a^2 d^2+6 a b c d+5 b^2 c^2\right ) \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{4 b^{7/2} d^{7/2}}-\frac {\sqrt {a+b x} \sqrt {c+d x} \left ((a d+b c) \left (15 a^2 d^2-22 a b c d+15 b^2 c^2\right )-2 b d x \left (5 a^2 d^2-2 a b c d+5 b^2 c^2\right )\right )}{4 b^3 d^3 (b c-a d)^2}+\frac {2 a x^3}{b \sqrt {a+b x} \sqrt {c+d x} (b c-a d)}-\frac {2 c x^2 \sqrt {a+b x} (a d+b c)}{b d \sqrt {c+d x} (b c-a d)^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.22, antiderivative size = 250, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.273, Rules used = {98, 150, 147, 63, 217, 206} \[ -\frac {\sqrt {a+b x} \sqrt {c+d x} \left ((a d+b c) \left (15 a^2 d^2-22 a b c d+15 b^2 c^2\right )-2 b d x \left (5 a^2 d^2-2 a b c d+5 b^2 c^2\right )\right )}{4 b^3 d^3 (b c-a d)^2}+\frac {3 \left (5 a^2 d^2+6 a b c d+5 b^2 c^2\right ) \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{4 b^{7/2} d^{7/2}}+\frac {2 a x^3}{b \sqrt {a+b x} \sqrt {c+d x} (b c-a d)}-\frac {2 c x^2 \sqrt {a+b x} (a d+b c)}{b d \sqrt {c+d x} (b c-a d)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 98
Rule 147
Rule 150
Rule 206
Rule 217
Rubi steps
\begin {align*} \int \frac {x^4}{(a+b x)^{3/2} (c+d x)^{3/2}} \, dx &=\frac {2 a x^3}{b (b c-a d) \sqrt {a+b x} \sqrt {c+d x}}-\frac {2 \int \frac {x^2 \left (3 a c+\frac {1}{2} (-b c+5 a d) x\right )}{\sqrt {a+b x} (c+d x)^{3/2}} \, dx}{b (b c-a d)}\\ &=\frac {2 a x^3}{b (b c-a d) \sqrt {a+b x} \sqrt {c+d x}}-\frac {2 c (b c+a d) x^2 \sqrt {a+b x}}{b d (b c-a d)^2 \sqrt {c+d x}}+\frac {4 \int \frac {x \left (a c (b c+a d)+\frac {1}{4} \left (5 b^2 c^2-2 a b c d+5 a^2 d^2\right ) x\right )}{\sqrt {a+b x} \sqrt {c+d x}} \, dx}{b d (b c-a d)^2}\\ &=\frac {2 a x^3}{b (b c-a d) \sqrt {a+b x} \sqrt {c+d x}}-\frac {2 c (b c+a d) x^2 \sqrt {a+b x}}{b d (b c-a d)^2 \sqrt {c+d x}}-\frac {\sqrt {a+b x} \sqrt {c+d x} \left ((b c+a d) \left (15 b^2 c^2-22 a b c d+15 a^2 d^2\right )-2 b d \left (5 b^2 c^2-2 a b c d+5 a^2 d^2\right ) x\right )}{4 b^3 d^3 (b c-a d)^2}+\frac {\left (3 \left (5 b^2 c^2+6 a b c d+5 a^2 d^2\right )\right ) \int \frac {1}{\sqrt {a+b x} \sqrt {c+d x}} \, dx}{8 b^3 d^3}\\ &=\frac {2 a x^3}{b (b c-a d) \sqrt {a+b x} \sqrt {c+d x}}-\frac {2 c (b c+a d) x^2 \sqrt {a+b x}}{b d (b c-a d)^2 \sqrt {c+d x}}-\frac {\sqrt {a+b x} \sqrt {c+d x} \left ((b c+a d) \left (15 b^2 c^2-22 a b c d+15 a^2 d^2\right )-2 b d \left (5 b^2 c^2-2 a b c d+5 a^2 d^2\right ) x\right )}{4 b^3 d^3 (b c-a d)^2}+\frac {\left (3 \left (5 b^2 c^2+6 a b c d+5 a^2 d^2\right )\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {c-\frac {a d}{b}+\frac {d x^2}{b}}} \, dx,x,\sqrt {a+b x}\right )}{4 b^4 d^3}\\ &=\frac {2 a x^3}{b (b c-a d) \sqrt {a+b x} \sqrt {c+d x}}-\frac {2 c (b c+a d) x^2 \sqrt {a+b x}}{b d (b c-a d)^2 \sqrt {c+d x}}-\frac {\sqrt {a+b x} \sqrt {c+d x} \left ((b c+a d) \left (15 b^2 c^2-22 a b c d+15 a^2 d^2\right )-2 b d \left (5 b^2 c^2-2 a b c d+5 a^2 d^2\right ) x\right )}{4 b^3 d^3 (b c-a d)^2}+\frac {\left (3 \left (5 b^2 c^2+6 a b c d+5 a^2 d^2\right )\right ) \operatorname {Subst}\left (\int \frac {1}{1-\frac {d x^2}{b}} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {c+d x}}\right )}{4 b^4 d^3}\\ &=\frac {2 a x^3}{b (b c-a d) \sqrt {a+b x} \sqrt {c+d x}}-\frac {2 c (b c+a d) x^2 \sqrt {a+b x}}{b d (b c-a d)^2 \sqrt {c+d x}}-\frac {\sqrt {a+b x} \sqrt {c+d x} \left ((b c+a d) \left (15 b^2 c^2-22 a b c d+15 a^2 d^2\right )-2 b d \left (5 b^2 c^2-2 a b c d+5 a^2 d^2\right ) x\right )}{4 b^3 d^3 (b c-a d)^2}+\frac {3 \left (5 b^2 c^2+6 a b c d+5 a^2 d^2\right ) \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{4 b^{7/2} d^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.99, size = 285, normalized size = 1.14 \[ \frac {3 \sqrt {a+b x} \left (5 a^2 d^2+6 a b c d+5 b^2 c^2\right ) (b c-a d)^{5/2} \sqrt {\frac {b (c+d x)}{b c-a d}} \sinh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b c-a d}}\right )+b \sqrt {d} \left (-15 a^4 d^3 (c+d x)+a^3 b d^2 \left (7 c^2+2 c d x-5 d^2 x^2\right )+a^2 b^2 d \left (7 c^3+10 c^2 d x+5 c d^2 x^2+2 d^3 x^3\right )+a b^3 c \left (-15 c^3+2 c^2 d x+5 c d^2 x^2-4 d^3 x^3\right )+b^4 c^2 x \left (-15 c^2-5 c d x+2 d^2 x^2\right )\right )}{4 b^4 d^{7/2} \sqrt {a+b x} \sqrt {c+d x} (b c-a d)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.78, size = 1200, normalized size = 4.80 \[ \left [\frac {3 \, {\left (5 \, a b^{4} c^{5} - 4 \, a^{2} b^{3} c^{4} d - 2 \, a^{3} b^{2} c^{3} d^{2} - 4 \, a^{4} b c^{2} d^{3} + 5 \, a^{5} c d^{4} + {\left (5 \, b^{5} c^{4} d - 4 \, a b^{4} c^{3} d^{2} - 2 \, a^{2} b^{3} c^{2} d^{3} - 4 \, a^{3} b^{2} c d^{4} + 5 \, a^{4} b d^{5}\right )} x^{2} + {\left (5 \, b^{5} c^{5} + a b^{4} c^{4} d - 6 \, a^{2} b^{3} c^{3} d^{2} - 6 \, a^{3} b^{2} c^{2} d^{3} + a^{4} b c d^{4} + 5 \, a^{5} d^{5}\right )} x\right )} \sqrt {b d} \log \left (8 \, b^{2} d^{2} x^{2} + b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2} + 4 \, {\left (2 \, b d x + b c + a d\right )} \sqrt {b d} \sqrt {b x + a} \sqrt {d x + c} + 8 \, {\left (b^{2} c d + a b d^{2}\right )} x\right ) - 4 \, {\left (15 \, a b^{4} c^{4} d - 7 \, a^{2} b^{3} c^{3} d^{2} - 7 \, a^{3} b^{2} c^{2} d^{3} + 15 \, a^{4} b c d^{4} - 2 \, {\left (b^{5} c^{2} d^{3} - 2 \, a b^{4} c d^{4} + a^{2} b^{3} d^{5}\right )} x^{3} + 5 \, {\left (b^{5} c^{3} d^{2} - a b^{4} c^{2} d^{3} - a^{2} b^{3} c d^{4} + a^{3} b^{2} d^{5}\right )} x^{2} + {\left (15 \, b^{5} c^{4} d - 2 \, a b^{4} c^{3} d^{2} - 10 \, a^{2} b^{3} c^{2} d^{3} - 2 \, a^{3} b^{2} c d^{4} + 15 \, a^{4} b d^{5}\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{16 \, {\left (a b^{6} c^{3} d^{4} - 2 \, a^{2} b^{5} c^{2} d^{5} + a^{3} b^{4} c d^{6} + {\left (b^{7} c^{2} d^{5} - 2 \, a b^{6} c d^{6} + a^{2} b^{5} d^{7}\right )} x^{2} + {\left (b^{7} c^{3} d^{4} - a b^{6} c^{2} d^{5} - a^{2} b^{5} c d^{6} + a^{3} b^{4} d^{7}\right )} x\right )}}, -\frac {3 \, {\left (5 \, a b^{4} c^{5} - 4 \, a^{2} b^{3} c^{4} d - 2 \, a^{3} b^{2} c^{3} d^{2} - 4 \, a^{4} b c^{2} d^{3} + 5 \, a^{5} c d^{4} + {\left (5 \, b^{5} c^{4} d - 4 \, a b^{4} c^{3} d^{2} - 2 \, a^{2} b^{3} c^{2} d^{3} - 4 \, a^{3} b^{2} c d^{4} + 5 \, a^{4} b d^{5}\right )} x^{2} + {\left (5 \, b^{5} c^{5} + a b^{4} c^{4} d - 6 \, a^{2} b^{3} c^{3} d^{2} - 6 \, a^{3} b^{2} c^{2} d^{3} + a^{4} b c d^{4} + 5 \, a^{5} d^{5}\right )} x\right )} \sqrt {-b d} \arctan \left (\frac {{\left (2 \, b d x + b c + a d\right )} \sqrt {-b d} \sqrt {b x + a} \sqrt {d x + c}}{2 \, {\left (b^{2} d^{2} x^{2} + a b c d + {\left (b^{2} c d + a b d^{2}\right )} x\right )}}\right ) + 2 \, {\left (15 \, a b^{4} c^{4} d - 7 \, a^{2} b^{3} c^{3} d^{2} - 7 \, a^{3} b^{2} c^{2} d^{3} + 15 \, a^{4} b c d^{4} - 2 \, {\left (b^{5} c^{2} d^{3} - 2 \, a b^{4} c d^{4} + a^{2} b^{3} d^{5}\right )} x^{3} + 5 \, {\left (b^{5} c^{3} d^{2} - a b^{4} c^{2} d^{3} - a^{2} b^{3} c d^{4} + a^{3} b^{2} d^{5}\right )} x^{2} + {\left (15 \, b^{5} c^{4} d - 2 \, a b^{4} c^{3} d^{2} - 10 \, a^{2} b^{3} c^{2} d^{3} - 2 \, a^{3} b^{2} c d^{4} + 15 \, a^{4} b d^{5}\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{8 \, {\left (a b^{6} c^{3} d^{4} - 2 \, a^{2} b^{5} c^{2} d^{5} + a^{3} b^{4} c d^{6} + {\left (b^{7} c^{2} d^{5} - 2 \, a b^{6} c d^{6} + a^{2} b^{5} d^{7}\right )} x^{2} + {\left (b^{7} c^{3} d^{4} - a b^{6} c^{2} d^{5} - a^{2} b^{5} c d^{6} + a^{3} b^{4} d^{7}\right )} x\right )}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 3.44, size = 484, normalized size = 1.94 \[ -\frac {4 \, \sqrt {b d} a^{4}}{{\left (b^{3} c {\left | b \right |} - a b^{2} d {\left | b \right |}\right )} {\left (b^{2} c - a b d - {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2}\right )}} + \frac {{\left ({\left (b x + a\right )} {\left (\frac {2 \, {\left (b^{10} c^{2} d^{4} {\left | b \right |} - 2 \, a b^{9} c d^{5} {\left | b \right |} + a^{2} b^{8} d^{6} {\left | b \right |}\right )} {\left (b x + a\right )}}{b^{14} c^{2} d^{5} - 2 \, a b^{13} c d^{6} + a^{2} b^{12} d^{7}} - \frac {5 \, b^{11} c^{3} d^{3} {\left | b \right |} + a b^{10} c^{2} d^{4} {\left | b \right |} - 17 \, a^{2} b^{9} c d^{5} {\left | b \right |} + 11 \, a^{3} b^{8} d^{6} {\left | b \right |}}{b^{14} c^{2} d^{5} - 2 \, a b^{13} c d^{6} + a^{2} b^{12} d^{7}}\right )} - \frac {15 \, b^{12} c^{4} d^{2} {\left | b \right |} - 12 \, a b^{11} c^{3} d^{3} {\left | b \right |} - 6 \, a^{2} b^{10} c^{2} d^{4} {\left | b \right |} + 20 \, a^{3} b^{9} c d^{5} {\left | b \right |} - 9 \, a^{4} b^{8} d^{6} {\left | b \right |}}{b^{14} c^{2} d^{5} - 2 \, a b^{13} c d^{6} + a^{2} b^{12} d^{7}}\right )} \sqrt {b x + a}}{4 \, \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}} - \frac {3 \, {\left (5 \, \sqrt {b d} b^{2} c^{2} + 6 \, \sqrt {b d} a b c d + 5 \, \sqrt {b d} a^{2} d^{2}\right )} \log \left ({\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2}\right )}{8 \, b^{3} d^{4} {\left | b \right |}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.04, size = 1369, normalized size = 5.48 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {x^4}{{\left (a+b\,x\right )}^{3/2}\,{\left (c+d\,x\right )}^{3/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x^{4}}{\left (a + b x\right )^{\frac {3}{2}} \left (c + d x\right )^{\frac {3}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________